package com.example.xpvideo.entity.res;

/**
 * 商品列表
 *
 * @author : 洪俊新
 * @date : 2021/7/15 15:09
 * @description:
 */
public class CommodityListRes {
    /**
     *主键
     * ${column.comment}
     * isnull 1
     */
    private Integer commodityId;
    /**
     * 商品名
     * isnull 0
     */            private String commodityName;
    /**
     * 店铺名称
     * isnull 0
     */            private String merchantsName;
    /**
     * 商品主图路径
     * isnull 0
     */            private String commodityMainPic;
    /**
     * 商品状态0为未发布上架状态,1为发布上架状态，2一次审核中，3一次审核拒绝,4商品下架，5二次审核中，6二次审核拒绝
     * isnull 0
     */            private String commodityStage;
    /**
     * 一级分类名字
     * isnull 0
     */            private String commodityOneTypeName;
    /**
     * 二级分类名字
     * isnull 0
     */            private String commodityTwoTypeName;
    /**
     * 销量
     * isnull 0
     */            private Integer salesVolume;

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getMerchantsName() {
        return merchantsName;
    }

    public void setMerchantsName(String merchantsName) {
        this.merchantsName = merchantsName;
    }

    public String getCommodityMainPic() {
        return commodityMainPic;
    }

    public void setCommodityMainPic(String commodityMainPic) {
        this.commodityMainPic = commodityMainPic;
    }

    public String getCommodityStage() {
        return commodityStage;
    }

    public void setCommodityStage(String commodityStage) {
        this.commodityStage = commodityStage;
    }

    public String getCommodityOneTypeName() {
        return commodityOneTypeName;
    }

    public void setCommodityOneTypeName(String commodityOneTypeName) {
        this.commodityOneTypeName = commodityOneTypeName;
    }

    public String getCommodityTwoTypeName() {
        return commodityTwoTypeName;
    }

    public void setCommodityTwoTypeName(String commodityTwoTypeName) {
        this.commodityTwoTypeName = commodityTwoTypeName;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }


    @Override
    public String toString() {
        return "CommodityListRes{" +
                "commodityId=" + commodityId +
                ", commodityName='" + commodityName + '\'' +
                ", merchantsName='" + merchantsName + '\'' +
                ", commodityMainPic='" + commodityMainPic + '\'' +
                ", commodityStage='" + commodityStage + '\'' +
                ", commodityOneTypeName='" + commodityOneTypeName + '\'' +
                ", commodityTwoTypeName='" + commodityTwoTypeName + '\'' +
                ", salesVolume=" + salesVolume +
                '}';
    }
}
